package com.itheima.ssm.pojo;




import lombok.Data;

import java.sql.Date;


@Data
public class Item {

    private Integer id;
    private String name;
    private Double price;   //价格
    private Date createtime;    //时间
    private String detail;  //商品描述

    public Item(Integer id, String name, Double price, Date createtime, String detail) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.createtime = createtime;
        this.detail = detail;
    }

    public Item() {
    }
}
